



<div class="x-body">
    <form class="layui-form form_single" id="form" action="{:url()}" method="post">
        <div class="layui-form-item">
            <label for="username" class="layui-form-label">
                <span class="x-red">*</span>彩种名称</label>
            <div class="layui-input-block">
                <input type="text" id="username" name="name" onchange="this.value=this.value.substring(0, 50)" onkeydown="this.value=this.value.substring(0, 30)" onkeyup="this.value=this.value.substring(0, 30)" required="" lay-verify="required"
                       autocomplete="off"  value="{$info['name']|default=''}" class="layui-input">
            </div>
            <div style="color: red !important;" class="layui-form-mid layui-word-aux">
                （限制50字符）
            </div>
        </div>

        <div class="layui-form-item">
            <label for="symbol" class="layui-form-label">
             彩种标识
            </label>
            <div class="layui-input-block">
                <input type="text" id="symbol" name="symbol"
                       autocomplete="off" class="layui-input"  value="{$info['symbol']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (彩种标识)
            </div>
        </div>
        <div class="layui-form-item">
            <label for="logo" class="layui-form-label">
                <span class="x-red">*</span>彩种图标（165*128）
            </label>
            <div id="logo" class="layui-input-block">
                {assign name="cover_id" value="$info.cover_id|default='0'" /}
                {:widget('file/index', ['name' => 'cover_id', 'value' => $cover_id, 'type' => 'img'])}
            </div>
            <!--<div class="layui-form-mid layui-word-aux">-->
            <!--(请上传单张封面图片)-->
            <!--</div>-->
        </div>
        <div class="layui-form-item">
            <label for="sort" class="layui-form-label">
                排序
            </label>
            <div class="layui-input-block">
                <input type="number" id="sort" name="sort"
                       autocomplete="off" class="layui-input"  value="{$info['sort']|default=0}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (排序)
            </div>
        </div>
        <div class="layui-form-item">
            <label for="describle" class="layui-form-label">
               彩种介绍
            </label>
            <div class="layui-input-block">
                <textarea id="describle" class="layui-textarea" name="describle" maxlength="200" onchange="this.value=this.value.substring(0, 200)" onkeydown="this.value=this.value.substring(0, 200)" onkeyup="this.value=this.value.substring(0, 200)"    rows="3" placeholder="请输入文章描述信息/简介">{$info['describle']|default=''}</textarea>
            </div>
            <!--<div class="layui-form-mid layui-word-aux">-->
                <!--(文章描述信息/简介)-->
            <!--</div>-->
        </div>










        <div class="layui-form-item">
            <label  class="layui-form-label">
                <span class="x-red">*</span>彩种分类
            </label>
            <div class="layui-input-block">
                <select name="cate_id" >
                    {volist name='cate' id='vo'}
                    <option value="{$vo['id']}" {notempty name="$info['cate_id']"}{if condition="$info['cate_id'] eq $vo['id']"} selected="selected" {/if}{/notempty} >{$vo['name']}</option>
                    {/volist}
                </select>
            </div>
            <div class="layui-form-mid layui-word-aux">
                (彩种分类)
            </div>

        </div>

        <div class="layui-form-item">
            <label for="stop_bets_time" class="layui-form-label">
                停止投注间隔（秒）
            </label>
            <div class="layui-input-block">
                <input type="number" id="stop_bets_time" name="stop_bets_time"
                       autocomplete="off" class="layui-input"  value="{$info['stop_bets_time']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (停止投注间隔)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="round_number" class="layui-form-label">
                每天期数
            </label>
            <div class="layui-input-block">
                <input type="number" id="round_number" name="round_number"
                       autocomplete="off" class="layui-input"  value="{$info['round_number']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (每天期数)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="number_count" class="layui-form-label">
                号码个数
            </label>
            <div class="layui-input-block">
                <input type="number" id="number_count" name="number_count"
                       autocomplete="off" class="layui-input"  value="{$info['number_count']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (号码个数)
            </div>
        </div>

        <div class="layui-form-item">
            <label for="round_time" class="layui-form-label">
                游戏每期时间(分钟)
            </label>
            <div class="layui-input-block">
                <input type="number" id="round_time" name="round_time"
                       autocomplete="off" class="layui-input"  value="{$info['round_time']|default=''}">
            </div>
            <div class="layui-form-mid layui-word-aux">
                (游戏每期时间 )
            </div>
        </div>


        <div class="box-footer">
            <input type="hidden" name="id" value="{$info['id']|default='0'}"/>

            {include file="layout/edit_btn_group"/}

        </div>

    </form>
</div>

<script>




</script>
